# Contributor: Miguel Terron <miguel.a.terron@gmail.com>
# Maintainer: Miguel Terron <miguel.a.terron@gmail.com>
pkgname=swuniq
pkgver=0.5
pkgrel=0
pkgdesc="Streaming sliding window uniq"
url="https://github.com/mterron/swuniq"
arch="all"
license="MIT"
source="$pkgname-$pkgver.tar.gz::https://github.com/mterron/swuniq/archive/v$pkgver.tar.gz"

build() {
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" prefix="/usr/bin" install
}

sha512sums="6c22d66103484d326a6eaf00c6b3373c955a180ae3a6f97534d43e29ee49e1d2ddac4fee8e22d4f118bbf2be2585fb393ea212db4babbe2baefc3c6fbc531f70  swuniq-0.5.tar.gz"
